/*
 * ComponentAddress.java
 *
 * Created on 21 de noviembre de 2005, 12:18
 *
 */

package ocp.context;

/**
 * Component Address for entities handling contexts and events.
 * @author Ignacio Nieto Carvajal.
 */
public class ComponentAddress  implements java.io.Serializable {
    
    /** unique id of this component address */
    protected String id = "";
    
    /** address of this component address */
    protected String address = "";
    
    /** Creates a new instance of ComponentAddress */
    public ComponentAddress(String id, String address) {
        this.id = id;
        this.address = address;
    }
    
    public String getId()                   { return id; }
    public String getAddress()              { return address; }
    public void setId(String id)            { this.id = id; }
    public void setAddress(String address)  { this.address = address; }
    
}
